package com.qsd.StudentSystem.service.impl;

import com.qsd.StudentSystem.dao.TeacherDao;
import com.qsd.StudentSystem.service.TeacherService;
import com.qsd.common.po.Teacher;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TeacherServiceImpl implements TeacherService {
	
	@Resource
	private TeacherDao teacherDao;

	@Override
	public Teacher info(String username) {
		return teacherDao.queryTeacherByUsername(username);
	}

}
